Example 3: Finds first element of x[] that is 0; stops if all n elements are examined without finding one.